﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head> 
   <title>URLs</title> 
   <!-- Template design (c) copyright 2008-2009 by Tim Green and EC Software -->
   <meta name="generator" content="Help &amp; Manual" /> 
   <meta name="keywords" content="" />
   <meta name="description" content="URLs" />
   <meta name="copyright" content="© 2012 Kentico Software" /> 
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <link type="text/css" href="default.css" rel="stylesheet" /> 
   <link type="text/css" href="custom.css" rel="stylesheet" />

   <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
   <script type="text/javascript" src="jquery.scrollTo-min.js"></script>
   <script type="text/javascript" src="nsh.js"></script>



         
   <!-- CSS set with project variables and local attributes --> 
   <style type="text/css" media="screen"> 
   body { background: #fff; } 
   #breadcrumbs {width: 100%; background-color: white; border-bottom: 1px solid #000; padding: 0px 0px 5px 15px;
   margin: 3px 0; font-size: 8pt; color: #000;}
   #breadcrumbs a { color: #000; text-decoration: none;}
   #breadcrumbs a:visited { color: #000; }
   #breadcrumbs a:hover { color: #098ae2; text-decoration: none; }
   .help-url { font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; 
               color: #1f84e8; text-align: center; margin: 5px 20px 10px 0px; 
               padding-top: 14px; border-top: 1px solid #000;}
   .help-url a { color: #098ae2; text-decoration: none; }
   .help-url a:visited { color: #098ae2; }
   .help-url a:hover { color: #098ae2; text-decoration: underline; }
   .highlight {background: #ffff40;}
   .breadhead {padding: 5px 0px 0px 0px !important;}    
   #innerdiv   
   {   
   padding-left: 5px;
   }
   

   </style> 

<!-- Adjustment for IE -->
<!--[if lte IE 8]>
<style type="text/css">
.topichead { padding-right: 0; }
   
   
   	.breadhead {
	margin: 0;
	padding-right: 5px;
	}
   
   
</style>
<![endif]-->
   
<script type="text/javascript">
// Initialize the page 
addEvent(window, "load", nsrInit);
addEvent(window, "load", doResize);
addEvent(window, "resize", doResize);
addEvent(window, "load", toggleJump);

</script>


<script type="text/javascript">
function mailFB_custom() {
var headerText = unQuot("Feedback on: Kentico CMS 6.0 Context Help - URLs".replace('&nbsp;',''));
var fb1 = "mailto:" + escape('Kentico Support Team <support@kentico.com>') + "?subject=" + headerText;
var titlePath = unQuot("CMS Desk &gt; Content &gt; Edit &gt; Properties &gt; URLs &gt; URLs /");
var fb2 = "&body=Ref:%20" + titlePath + "%20ID:%20doc_urls%0A%0D%0A%0D" + unQuot("Dear Support Staff,") + "%0A%0D%0A%0D";
var fb = fb1 + fb2;
document.location.href=fb;
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-105987-4']);
  _gaq.push(['_setDomainName', '.kentico.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>        
<script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if (location.search.lastIndexOf("toc=0")<=0) {
  if (parent.frames.length==0) { parent.location.href="index.html?doc_urls.htm"; }
  else { parent.quicksync('a1.1.2.6.3.1'); }
}
//-->
</script>
<script type="text/javascript" src="highlight.js"></script></head> 
<body onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>
<!--ZOOMSTOP-->

<div id="printheader">
<span id="printtitle">Kentico CMS 6.0 Context Help</span><br />
<p class="p_Heading1"><span class="f_Heading1">URLs</span></p>
</div>
<div id="idheader" style="border-bottom:1px solid #000;margin:0px 0px;"> 
<table id="breadtable" border="0" cellspacing="0" cellpadding="0" width="100%"> 
  <tr >
  <td align="left" class="breadhead" >
       <p id="breadcrumbs"><a href="mode_selection.htm"
        onmouseover="document.images.main.src='home_h.gif'" 
        onmouseout="document.images.main.src='home.gif'">
        <img name="main" src="home.gif" border="0" alt="Home topic" title="Home topic" /></a> 
        
        CMS Desk &gt; Content &gt; Edit &gt; Properties &gt; URLs:</p> 
  </td>
  </tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" id="headtable"> 

<!-- Script version of NavHeader -->
  <tr id="scriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead" style="padding-left: 15px;"> 
    <p class="p_Heading1"><span class="f_Heading1">URLs</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="general.htm"
        onmouseover="document.images.prev.src='button_prev_h.gif'" 
        onmouseout="document.images.prev.src='button_prev.gif'">
        <img name="prev" src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="doc_documentalias_edit.htm"
        onmouseover="document.images.next.src='button_next_h.gif'" 
        onmouseout="document.images.next.src='button_next.gif'"><img name="next" src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>

   
   
   
   
   

     
   <td id="print-button" align="center" width="20" class="idnav" valign="bottom">
     <a href="javascript: print();" 
     onmouseover="document.images.printbutton.src='print_h.gif'" 
     onmouseout="document.images.printbutton.src='print.gif'"><img name="printbutton" border="0" alt="Print this topic" title="Print this topic" src="print.gif" /></a>
   </td>  
     
     

  
   <td id="mail-feedback" align="center" width="20" class="idnav" valign="bottom">
   <a href="#"
        onclick='mailFB_custom();'
        onmouseover="document.images.feedback.src='mail_h.gif'" 
        onmouseout="document.images.feedback.src='mail.gif'"><img name="feedback" src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>
<!-- End script navheader version -->

<!-- NoScript version of navheader -->

  <tr id="noScriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead"> 
    <p class="p_Heading1"><span class="f_Heading1">URLs</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="general.htm">
        <img src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="doc_documentalias_edit.htm">
        <img src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>
   
   
   
  
   

     
     
   <td align="center" width="20" class="idnav" valign="bottom">
   <img border="0" alt="JavaScript is required for the print function" title="JavaScript is required for the print function" src="print_d.gif" />
   </td>
     
     
   
   <td align="center" width="20" class="idnav" valign="bottom">
   <a href="mailto:support@kentico.com?subject=Documentation%20feedback&body=Ref%20ID:%20doc_urls%0D%0D"><img src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>

<!-- End noscript navheader version -->
  </table>
<div id="autoTocWrapper"></div>
</div> 

<div id="idcontent"><div id="innerdiv">
<!--ZOOMRESTART-->
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table width="820" cellspacing="0" cellpadding="5" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p style="text-align: justify;">Document alias</p>
</td>
<td valign="top" width="80%" style="width:80%; border: solid 1px #000000;"><p>The unique name of the document in the given section of the website. This name doesn't change when you modify the document name and it's used:</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">1.</span></td><td>To define the <span style="font-weight: bold;">AliasPath</span>, which is the unique path to the document. The developers typically use the AliasPath in the Path property of the web parts and controls.</td></tr></table></div><p><span style="color: #000000;">&nbsp;</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">2.</span></td><td>For the URL of the document. The URL of the document is like <br>
www.kentico.com<span style="font-weight: bold;">/products/cms</span>.aspx<br>
where /products/cms is the alias path of the document.</td></tr></table></div><p><span style="color: #000000;">&nbsp;</span></p>
<p><span style="font-weight: bold;">Forbidden characters</span></p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>Some characters are forbidden in URLs and thus they are replaced with a safe character (by default, it's dash -). You can specify the forbidden characters and the replacement character in <span style="font-weight: bold;">Site Manager -&gt; Settings -&gt; URLs and SEO</span>, in values of the "Forbidden characters replacement" and "Forbidden URL characters" properties.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p style="text-align: justify;">Document URL path</p>
</td>
<td valign="top" width="80%" style="width:80%; border: solid 1px #000000;"><p>If you want to use a specific URL for a document that doesn't depend on its Alias path, you need to check the <span style="font-weight: bold;">Use custom URL path</span> box and enter a different value.</p>
<p>&nbsp;</p>
<p>You can choose from the following <span style="font-weight: bold;">Path types</span> for the custom URL: </p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-weight: bold;">Standard URL or wildcard</span> - the URL will be handled by the standard Kentico CMS rewriting engine.</td></tr></table></div><div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-weight: bold;">Route</span> - the URL will be processed as an ASP.NET Route pattern.</td></tr></table></div><div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-weight: bold;">MVC</span> - requests to the URL will be handled as requests for an MVC page. Please see the <a href="http://devnet.kentico.com/docs/6_0/devguide/mvc_overview.htm" target="_blank" class="weblink">MVC development model</a> chapter in the Developer's Guide for more information.</td></tr></table></div><p>&nbsp;</p>
<p>The selection made here determines how the value of the <span style="font-weight: bold;">Path or pattern</span> field will be processed. For <span style="font-style: italic;">MVC</span> or <span style="font-style: italic;">Route</span> patterns, it is always necessary to include the URL extension at the end of the path. If you leave the path without an extension, the document will automatically be available under an extensionless URL.</p>
<p>&nbsp;</p>
<p>If MVC is selected, you must also specify the following values:</p>
<p style="margin: 0px 0px 0px 7px;"><span style="color: #000000;">&nbsp;</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 7px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-weight: bold;">Default controller</span> - the name of the MVC controller containing the action that should be performed when the alias URL is accessed, without the <span style="font-style: italic;">Controller </span>part at the end. E.g. if the controller class is called <span style="font-style: italic;">NewsMVCController</span>, enter <span style="font-style: italic;">NewsMVC</span>. The specified controller is first searched in the <span style="font-style: italic;">CMS.Controllers.&lt;current site code name&gt;</span> namespace. If it is not found there, it is searched in the <span style="font-style: italic;">CMS.Controllers.Global</span> namespace.</td></tr></table></div><div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 7px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-weight: bold;">Default action</span> - specifies the action defined within the controller that should be performed when the alias URL is accessed.</td></tr></table></div><p>&nbsp;</p>
<p>The URL path must always start with /. When entered, the document will be accessible under two URLs. This can be useful if you need to define a short URL for a page or need to optimize the URL for search engines.</p>
<p>&nbsp;</p>
<p>The URL path is, unlike the alias path, culture-specific. This means if you use URL paths:</p>
<p>/product (for the English version)</p>
<p>/produkt (for the German version)</p>
<p>&nbsp;</p>
<p>Then when the user comes to /produkt.aspx, the language of the website is automatically switched to German.<br>
&nbsp;<br>
The URL path may contain wildcard URLs or MVC or Route patterns. Wildcards use the following format: <span style="font-style: italic;">{wildcard}</span> or <span style="font-style: italic;">{wildcard;defaultvalue}</span>, where <span style="font-style: italic;">wildcard</span> is the name of the wildcard and <span style="font-style: italic;">defaultvalue</span> its value if the URL is used without a wildcard being entered. More information can be found at <a href="http://devnet.kentico.com/docs/6_0/devguide/wildcard_urls.htm" target="_blank" class="weblink">Wildcard URLs</a>.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p style="text-align: justify;">URL extensions</p>
</td>
<td valign="top" width="80%" style="width:80%; border: solid 1px #000000;"><p>Default URL extensions are defined in <span style="font-weight: bold;">Site Manager -&gt; Settings -&gt; URLs and SEO -&gt; Friendly URL extensions</span>. If you check the <span style="font-weight: bold;">Use custom URL extensions</span> check box, you can define other extensions under which the document can be accessed. </p>
<p>&nbsp;</p>
<p>In case that the option is disabled, physical file extensions can also be used for <span style="font-weight: bold;">cms.file</span> documents.</p>
<p>&nbsp;</p>
<p>Multiple extensions can be entered divided by a semicolon. If you enter a semicolon without any extension, extensionless URLs will be allowed.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;">Example</span>: entering <span style="font-style: italic;">.htm;;</span> for a document with a URL path set to <span style="font-style: italic;">/test</span> will allow the document to be accessed through both of the URLs below:</p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 7px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-style: italic;">&lt;site path&gt;/test.htm</span></td></tr></table></div><div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 7px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><span style="font-style: italic;">&lt;site path&gt;/test</span></td></tr></table></div><p>&nbsp;</p>
<p>For this to work, you also need to to set up your IIS for handling 404 and 405 errors as described in the <a href="http://devnet.kentico.com/docs/6_0/devguide/configuration_of_extensionless_urls.htm" target="_blank" class="weblink">Installation and deployment -&gt; Additional configuration tasks -&gt; Custom URL extensions</a> chapter of the Developer's Guide.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p>Document aliases</p>
</td>
<td valign="top" width="80%" style="width:80%; border: solid 1px #000000;"><p>This section displays a list of other document aliases under which the document can be accessed. One document can have an unlimited number of aliases. You can edit (<img src="edit.png" width="13" height="13" border="0" alt="Edit">) and delete (<img src="delete.png" width="13" height="13" border="0" alt="Delete">) aliases in the list or create a new alias using the '<span style="font-weight: bold;">Add new alias</span>' link. After clicking the <img src="arrowbottom.png" width="10" height="8" border="0" alt="ArrowBottom"> icon in the header of the <span style="font-weight: bold;">Actions</span> column, a context menu is displayed, offering options for <a href="ui_data_export.htm">export of listed data</a> to various types of files.<br>
&nbsp;<br>
If the <span style="font-weight: bold;">Remember original URLs when moving documents setting</span> is enabled in <span style="font-weight: bold;">Site Manager -&gt; Settings -&gt; URLS and SEO</span>, new document aliases containing the original URL properties will automatically be created whenever the <span style="font-weight: bold;">Document URL path</span> or <span style="font-weight: bold;">URL extensions</span> properties are changed.</p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>

<!--ZOOMSTOP--> 

<noscript>
<p class="help-url"><b>Help URL:&nbsp;</b><a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?doc_urls.htm" target="_top" title="Right-click to copy the URL of this help topic">
<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?doc_urls.htm</a>
</p>
</noscript>
<script type="text/javascript">
var autoURL = true;
if (autoURL) {
      document.write(getHref("index.html","Help URL:","Right-click to copy the URL of this help topic"));
      } else {
             document.write('<p class="help-url"><b>Help URL:&nbsp;</b>');
             document.write('<a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?doc_urls.htm" target="_top" title="Right-click to copy the URL of this help topic"><%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?doc_urls.htm</a>');
             document.write('</p>');
      }
</script>

</div></div> 
</body>
</html>





